/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.modulars.website.user.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.core.base.entity.BaseEntity;

/**
 * 用户管理 Entity
 *
 * @author cyx
 * @date 2025-07-07 15:41:55
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user")
public class UserSite extends BaseEntity {


    /** 学号（唯一） */
    private String studentId;

    /** 用户姓名 */
    private String name;

    /** 用户角色 */
    private String role;

    /** 认证状态 */
    private String authStatus;

    /** 教务系统密码（加密存储，可为空） */
    private String eduPassword;

    /** 本系统密码（加密存储，必填） */
    private String password;

    /** 邮箱（可选） */
    private String email;

    /** 手机号（可选） */
    private String phone;

    /** 注册时间 */
    private Date createdTime;


    // ========================================











}